CALL 0_header
if defined cookie goto :auto

ECHO After gimagex opens up, you can map a network drive in the next command window.
ECHO.
ECHO If you do not need a network share (image on USB)
ECHO the script will auto close in 30 seconds.
ECHO.
ECHO Press any key to start gimagex and the network script.
pause > nul
goto :start

:auto
set cookie=bootbcd

:start
ECHO This window will return to the main menu after gimagex is closed.
start 3_connect.cmd
start /wait gimagex.exe
set step=4
0_main_menu.cmd

